package cn.starrysky108.simpleerp.inventory.entity;

import cn.starrysky108.simpleerp.core.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.math.BigDecimal;

/**
 * <p>
 * 固定资产表
 * </p>
 *
 * @author Carl Lee
 * @since 2021-08-14
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("inventory_fixed_assets")
@ApiModel(value = "InventoryFixedAssets对象", description = "固定资产表")
public class InventoryFixedAssets extends BaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "资产名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "售价")
    @TableField("price")
    private BigDecimal price;

    @ApiModelProperty(value = "现在价值")
    @TableField("value")
    private BigDecimal value;

    @ApiModelProperty(value = "单位")
    @TableField("unit")
    private String unit;

    @ApiModelProperty(value = "规格参数")
    @TableField("specifications")
    private String specifications;

    @ApiModelProperty(value = "商品默认展示照片")
    @TableField("photos")
    private String photos;

    @ApiModelProperty(value = "其他材料")
    @TableField("files")
    private String files;

    @ApiModelProperty(value = "商品条形码")
    @TableField("isbn")
    private String isbn;

    @ApiModelProperty(value = "库存数量")
    @TableField("count")
    private Integer count;



}
